import { defineStore } from 'pinia'

export const useStore = defineStore('main', {
    state: () => {
        return {
            studentid: null,            
        }
    },
    getters:{
        getstudentid:(state) => state.studentid
    },
    actions: {
        setstudentid(id){
            this.studentid = id
        }
    }
})